Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

choose supernode selection strategy at run-time #864

Merged
merged 3 commits into from
Oct 24, 2021
Merged

Conversation

Logan007
Copy link
Collaborator

@Logan007 Logan007 commented Oct 23, 2021

This PR adds the --select-rtt parameter to the edge allowing for supernode selection strategy configuration at run-time. No more need for compile-time macro definition.

Documentation has been adapted accordingly.

Also, this lays ground for the addition of further selection strategies, e.g. based on supernode MAC, see #857 / #860.

@codecov-commenter
Copy link

codecov-commenter commented Oct 23, 2021

Codecov Report

Merging #864 (b52c6c1) into dev (7b7449c) will decrease coverage by 0.06%.
The diff coverage is 1.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #864      +/-   ##
==========================================
- Coverage   18.37%   18.31%   -0.07%     
==========================================
  Files          41       41              
  Lines        8513     8547      +34     
==========================================
+ Hits         1564     1565       +1     
- Misses       6949     6982      +33     
Impacted Files Coverage Δ
src/edge.c 0.00% <0.00%> (ø)
src/edge_management.c 0.00% <ø> (ø)
src/sn_selection.c 0.00% <0.00%> (ø)
src/sn_utils.c 0.00% <0.00%> (ø)
src/wire.c 36.14% <0.00%> (ø)
src/edge_utils.c 1.13% <33.33%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b7449c...b52c6c1. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants